package org.jeecg.modules.yks.mng.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: PLC参数表
 * @Author: jeecg-boot
 * @Date:   2023-11-23
 * @Version: V1.0
 */
@Data
@TableName("yks_plc_parameter")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yks_plc_parameter对象", description="PLC参数表")
public class YksPlcParameter implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**设备类型*/
	@Excel(name = "项目类型", width = 15,dicCode = "equipment_type")
	@Dict(dicCode = "equipment_type")
	@ApiModelProperty(value = "项目类型")
	private java.lang.String equipmentType;
	/**PLC参数ID*/
	@Excel(name = "AKTICP系统变量ID",width = 15)
	@ApiModelProperty(value = "AKTICP系统变量ID")
	private java.lang.String parameterPlcId;
	/**参数类别*/
	@Excel(name = "PLC变量所属一级组", width = 15,dicCode = "parameter_class")
	@Dict(dicCode = "parameter_class")
    @ApiModelProperty(value = "PLC变量所属一级组")
    private java.lang.String parameterClass;
	/**参数控制对象*/
	@Excel(name = "PLC变量所属二级组", width = 15,dictTable = "sys_category", dicText = "name", dicCode = "id")
	@Dict(dictTable = "sys_category", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "PLC变量所属二级组")
	private java.lang.String parameterControlObject;
	/**参数名称*/
	@Excel(name = "PLC变量名称", width = 15)
	@ApiModelProperty(value = "PLC变量名称")
	private java.lang.String parameterName;
	/**控件类型*/
	@Excel(name = "PLC变量地址", width = 15)
	@ApiModelProperty(value = "PLC变量地址")
	private java.lang.String paramAddress;
	/**PLC型号(1，三菱 2、西门子)*/
	@Excel(name = "PLC品牌型号", width = 15,dicCode = "plc_model")
	@Dict(dicCode = "plc_model")
	@ApiModelProperty(value = "PLC品牌型号")
	private java.lang.String plcModel;

	/**参数数据类型*/
	@Excel(name = "PLC数据类型", width = 15, dicCode = "parameter_data_type")
	@Dict(dicCode = "parameter_data_type")
	@ApiModelProperty(value = "PLC数据类型")
	private java.lang.String parameterDataType;
	/**参数读写数据类型*/
	@Excel(name = "PLC读写类型", width = 15, dicCode = "parameter_readandwrite_type")
	@Dict(dicCode = "parameter_readandwrite_type")
	@ApiModelProperty(value = "PLC读写类型")
	private java.lang.String parameterReadandwriteType;

	/**参数取值范围*/
	@Excel(name = "PLC范围", width = 15)
	@ApiModelProperty(value = "PLC范围")
	private java.lang.String parameterRange;
	/**控件类型*/
	@Excel(name = "变量参考值", width = 15)
	@ApiModelProperty(value = "变量参考值")
	private java.lang.String paramRefValue;

	/**参数单位*/
	@Excel(name = "参数单位", width = 15, dictTable = "yks_unit", dicText = "name", dicCode = "id")
	@Dict(dictTable = "yks_unit", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "参数单位")
	private java.lang.String parameterUnit;
	/**参数编码*/
//	@Excel(name = "参数编码", width = 15)
    @ApiModelProperty(value = "参数编码")
    private java.lang.String parameterCode;
	/**参数控制对象类别*/
//	@Excel(name = "参数控制对象类别", width = 15, dicCode = "parameter_control_object_type")
	@Dict(dicCode = "parameter_control_object_type")
    @ApiModelProperty(value = "参数控制对象类别")
    private java.lang.String parameterControlObjectType;

	/**控件类型*/
//	@Excel(name = "控件类型", width = 15)
//    @ApiModelProperty(value = "控件类型")
    private java.lang.String controlType;
	/**控件值*/
//	@Excel(name = "控件值", width = 15)
    @ApiModelProperty(value = "控件值")
    private java.lang.String controlValue;
	/**是否必填*/
//	@Excel(name = "是否必填", width = 15)
    @ApiModelProperty(value = "是否必填")
    private java.lang.Integer controlRequired;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**扩展日期字段*/
//	@Excel(name = "扩展日期字段", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "扩展日期字段")
    private java.util.Date extDate;
	/**扩展日期字段1*/
//	@Excel(name = "扩展日期字段1", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "扩展日期字段1")
    private java.util.Date extDate1;
	/**扩展数字字段*/
//	@Excel(name = "扩展数字字段", width = 15)
    @ApiModelProperty(value = "扩展数字字段")
    private java.math.BigDecimal extNumber;
	/**扩展数字字段1*/
//	@Excel(name = "扩展数字字段1", width = 15)
    @ApiModelProperty(value = "扩展数字字段1")
    private java.math.BigDecimal extNumber1;
	/**扩展数字字段2*/
//	@Excel(name = "扩展数字字段2", width = 15)
    @ApiModelProperty(value = "扩展数字字段2")
    private java.math.BigDecimal extNumber2;
	/**扩展字符字段*/
//	@Excel(name = "扩展字符字段", width = 15)
    @ApiModelProperty(value = "扩展字符字段")
    private java.lang.String extText;
	/**扩展字符字段1*/
//	@Excel(name = "扩展字符字段1", width = 15)
    @ApiModelProperty(value = "扩展字符字段1")
    private java.lang.String extText1;
	/**扩展字符字段2*/
//	@Excel(name = "扩展字符字段2", width = 15)
    @ApiModelProperty(value = "扩展字符字段2")
    private java.lang.String extText2;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**多租户标识*/
//	@Excel(name = "多租户标识", width = 15)
    @ApiModelProperty(value = "多租户标识")
    private java.lang.String tenantId;
	/**删除状态*/
//	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    @TableLogic
    private java.lang.Integer delFlag;
	/**版本*/
//	@Excel(name = "版本", width = 15)
    @ApiModelProperty(value = "版本")
    private java.lang.Integer version;
	/**租户业务隔离ID*/
//	@Excel(name = "租户业务隔离ID", width = 15)
    @ApiModelProperty(value = "租户业务隔离ID")
    private java.lang.String tenantBusinessId;
}
